import cn.hutool.json.JSONArray;
import cn.hutool.json.JSONObject;

import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author: lvliangjun
 * @Date: 2024/5/24 10:06
 */
public class 解析坐标 {
    public static void main(String[] args) {
        //读取resources 下的 grid.txt

        String gridStr = "";
        try {
            gridStr = new String(Files.readAllBytes(Paths.get("E:\\idea_workspace_lv\\xh-scrm\\scrm-admin\\src\\test\\resources\\grid.json")));
            JSONArray jsonArray = new JSONArray(gridStr);
            for (int i = 0; i < jsonArray.size(); i++) {
                System.out.println("--------开始--------");
                one((JSONObject) jsonArray.get(i));
                System.out.println("--------结束--------");
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
    public static void main2(String[] args) {

        String arr = "[{\"blockCode\": \"610424\",\n" +
                "\"blockCoords\": \"POLYGON((108.306464 34.732065,108.311663 34.724541,108.312236 34.71367,108.316623 34.703601,108.313786 34.691743,108.325315 34.693904,108.334009 34.690377,108.337479 34.686439,108.339849 34.680432,108.333464 34.675545,108.333189 34.672689,108.337569 34.660218,108.34299 34.659096,108.344871 34.656182,108.335841 34.652434,108.336749 34.641034,108.339883 34.626112,108.337321 34.622326,108.338223 34.618488,108.336143 34.614074,108.336915 34.607501,108.33511 34.604516,108.336295 34.600107,108.334765 34.596328,108.33595 34.589062,108.333457 34.584476,108.340744 34.582951,108.342066 34.577464,108.346656 34.575191,108.349645 34.57114,108.357426 34.544197,108.356318 34.536813,108.363319 34.536318,108.365956 34.530141,108.380236 34.525823,108.385988 34.526004,108.397899 34.529398,108.40247 34.528945,108.402264 34.522412,108.405995 34.513034,108.405788 34.50851,108.40198 34.50559,108.401354 34.503237,108.395958 34.501976,108.394851 34.497741,108.401216 34.492309,108.405573 34.479314,108.402665 34.470852,108.398025 34.465919,108.394909 34.451611,108.392283 34.448632,108.383851 34.448143,108.372869 34.445588,108.371858 34.440834,108.372009 34.439529,108.38438 34.430883,108.392792 34.429115,108.394047 34.424927,108.391952 34.421826,108.382735 34.419506,108.381928 34.418201,108.378441 34.402311,108.383448 34.386686,108.383334 34.377403,108.379203 34.370152,108.371009 34.366563,108.369577 34.364026,108.3699 34.359609,108.374985 34.346846,108.374639 34.333456,108.37284 34.329499,108.36925 34.326175,108.364099 34.326057,108.361173 34.33154,108.357414 34.333553,108.355107 34.336407,108.34753 34.339963,108.334561 34.339568,108.331551 34.340584,108.329244 34.346807,108.327004 34.34789,108.323322 34.347955,108.317886 34.344,108.311704 34.343992,108.305264 34.349446,108.304653 34.353286,108.308491 34.358316,108.312422 34.357783,108.320232 34.353955,108.325289 34.352955,108.326704 34.353872,108.321634 34.358183,108.316949 34.357835,108.317074 34.363118,108.306843 34.366743,108.292645 34.363201,108.287974 34.359084,108.279125 34.360346,108.273212 34.356531,108.269754 34.35601,108.264502 34.358802,108.253027 34.361006,108.243896 34.367456,108.232978 34.369851,108.218016 34.363543,108.217499 34.358927,108.212879 34.34984,108.211533 34.348044,108.206771 34.347358,108.199777 34.348906,108.19912 34.353608,108.200345 34.357015,108.204726 34.362252,108.203682 34.364526,108.196931 34.367614,108.190811 34.366051,108.187211 34.363156,108.185691 34.35781,108.18576 34.355745,108.188951 34.351584,108.187386 34.350719,108.164806 34.35175,108.161304 34.354694,108.160546 34.358837,108.1639 34.36428,108.164833 34.370034,108.142371 34.370125,108.137482 34.372956,108.136593 34.376956,108.134568 34.376953,108.126535 34.371903,108.119885 34.371696,108.117332 34.372782,108.116058 34.381701,108.121739 34.383518,108.124193 34.387537,108.116622 34.393979,108.116071 34.396846,108.104678 34.401065,108.102147 34.413651,108.103634 34.421013,108.109097 34.424061,108.111909 34.428494,108.11232 34.43067,108.111207 34.432499,108.114714 34.437029,108.113876 34.441029,108.105657 34.440097,108.103933 34.438605,108.103193 34.431104,108.101607 34.430588,108.098906 34.432171,108.095366 34.437434,108.091215 34.437532,108.089421 34.435868,108.089294 34.430003,108.086007 34.426277,108.080664 34.428508,108.074906 34.434547,108.067766 34.432428,108.054225 34.435479,108.051951 34.434834,108.048991 34.431411,108.044964 34.423289,108.043579 34.423052,108.037736 34.428168,108.032119 34.42945,108.024268 34.433348,108.012619 34.433264,108.010927 34.438864,108.014867 34.445064,108.011781 34.450414,108.011903 34.457986,108.016172 34.470557,108.017627 34.479105,108.017601 34.489663,108.023036 34.500964,108.026851 34.506765,108.026859 34.50898,108.04783 34.530208,108.047692 34.535925,108.050072 34.539069,108.054201 34.540508,108.054524 34.545981,108.05694 34.549536,108.061834 34.565671,108.066745 34.566799,108.069946 34.564335,108.071787 34.558398,108.071567 34.54742,108.080039 34.547634,108.083498 34.544297,108.082626 34.548224,108.084179 34.55154,108.088292 34.548587,108.094248 34.546489,108.097252 34.541808,108.102172 34.538391,108.110406 34.536702,108.1192 34.53266,108.126534 34.530952,108.137644 34.535035,108.136302 34.545051,108.131424 34.558031,108.13515 34.559929,108.144212 34.55748,108.149107 34.560687,108.152069 34.563955,108.15731 34.577689,108.130985 34.592492,108.110908 34.617578,108.108723 34.629023,108.105305 34.631221,108.10199 34.630585,108.100966 34.625492,108.099238 34.623421,108.094742 34.62261,108.082262 34.623069,108.074085 34.62109,108.065417 34.613985,108.063982 34.606485,108.045453 34.613476,108.04327 34.622452,108.032146 34.626637,108.024476 34.635447,108.02554 34.654312,108.018566 34.668415,108.021824 34.678306,108.038044 34.684135,108.046322 34.685858,108.055614 34.684408,108.06205 34.679168,108.073065 34.676049,108.087009 34.669508,108.094131 34.677839,108.097039 34.677558,108.101169 34.670454,108.09833 34.659139,108.101281 34.654222,108.103459 34.653218,108.105437 34.654691,108.107416 34.663344,108.109828 34.666213,108.115284 34.669369,108.118892 34.669039,108.122359 34.666871,108.128833 34.655033,108.143711 34.654139,108.145149 34.659244,108.152052 34.663251,108.167189 34.664528,108.179986 34.662762,108.196976 34.671526,108.216899 34.673591,108.223659 34.677052,108.224621 34.684658,108.211729 34.701845,108.211358 34.708256,108.237161 34.724125,108.246313 34.734789,108.258709 34.742146,108.268555 34.740453,108.277579 34.740621,108.276949 34.746158,108.274008 34.748192,108.276159 34.751993,108.286677 34.747597,108.288271 34.745594,108.289693 34.738956,108.292353 34.736185,108.298132 34.733837,108.304361 34.729085,108.305949 34.729534,108.306464 34.732065))\",\n" +
                "\"centerPoint\": \"108.239316,34.528262\",\n" +
                "\"colorTemplateType\": 8,\n" +
                "\"name\": \"乾县\"\n" +
                "},\n" +
                "{\n" +
                "\"blockCode\": \"610424108000\",\n" +
                "\"blockCoords\": \"POLYGON((108.302513 34.638653,108.302405 34.638336,108.302398 34.637851,108.30268 34.635622,108.303031 34.631506,108.302817 34.630685,108.302481 34.630249,108.302267 34.630207,108.302076 34.630337,108.301885 34.631111,108.301503 34.631374,108.300914 34.6314,108.300831 34.631163,108.300975 34.629453,108.300799 34.627719,108.300326 34.626252,108.300333 34.62602,108.300646 34.624993,108.300776 34.624123,108.300623 34.622817,108.300256 34.62193,108.299599 34.62104,108.298796 34.620515,108.298659 34.62032,108.298537 34.619733,108.298521 34.61882,108.298215 34.616673,108.297894 34.61478,108.297635 34.614168,108.296205 34.611898,108.294027 34.607921,108.291108 34.603419,108.290313 34.602739,108.289587 34.602623,108.289129 34.602749,108.2889 34.60297,108.287991 34.604511,108.287708 34.604679,108.287281 34.604709,108.286555 34.604555,108.285883 34.604268,108.285249 34.604214,108.284844 34.604458,108.284294 34.605358,108.283866 34.606282,108.28369 34.607248,108.283667 34.607969,108.283485 34.608549,108.283209 34.609164,108.282912 34.609564,108.282843 34.610126,108.28308 34.610951,108.283103 34.611573,108.282179 34.612523,108.28166 34.613366,108.280255 34.615961,108.278499 34.620022,108.277636 34.621399,108.276796 34.622509,108.276643 34.622857,108.276582 34.6233,108.276613 34.62375,108.277147 34.624831,108.277224 34.625221,108.277216 34.625591,108.277132 34.625805,108.276987 34.625935,108.275574 34.626159,108.275048 34.626414,108.273635 34.628639,108.273475 34.629219,108.273491 34.630155,108.274178 34.631259,108.275178 34.63313,108.275132 34.633848,108.274934 34.634115,108.274667 34.634302,108.272849 34.634667,108.272559 34.634816,108.272437 34.635049,108.272407 34.635828,108.272231 34.636133,108.271918 34.636339,108.270491 34.636811,108.26962 34.636906,108.268567 34.636845,108.268224 34.636604,108.267529 34.635538,108.267025 34.635023,108.266796 34.634862,108.265812 34.634797,108.264796 34.634037,108.26459 34.634033,108.2643 34.63414,108.263987 34.634368,108.263835 34.634754,108.263789 34.636152,108.263614 34.636613,108.263415 34.636747,108.263155 34.636739,108.262881 34.636674,108.262751 34.636342,108.262827 34.635334,108.262667 34.635193,108.262408 34.635208,108.261271 34.636192,108.260798 34.636318,108.260187 34.636265,108.260058 34.636066,108.260089 34.635795,108.2606 34.635223,108.260607 34.63499,108.26047 34.634829,108.260073 34.634726,108.258799 34.633512,108.258264 34.633141,108.257875 34.633535,108.257723 34.633798,108.257685 34.63494,108.257571 34.635188,108.256735 34.635837,108.256163 34.636044,108.255309 34.636964,108.254935 34.637216,108.254667 34.637617,108.254454 34.638185,108.254164 34.639423,108.254043 34.639564,108.25389 34.63964,108.251434 34.639328,108.250755 34.639473,108.249451 34.640447,108.247286 34.64244,108.246683 34.642681,108.246218 34.642704,108.245875 34.642616,108.244044 34.641395,108.243344 34.641044,108.243062 34.641036,108.242886 34.641113,108.242322 34.64185,108.240798 34.644191,108.240538 34.64447,108.239555 34.645074,108.239136 34.645525,108.238686 34.646407,108.238511 34.647056,108.238244 34.647576,108.237878 34.647981,108.237429 34.648325,108.236446 34.648906,108.236133 34.649169,108.235966 34.64944,108.235935 34.649788,108.23609 34.651628,108.236156 34.652407,108.236248 34.654782,108.236134 34.656535,108.23589 34.657642,108.235898 34.657833,108.236348 34.658337,108.236325 34.659009,108.235136 34.661113,108.233238 34.665483,108.232827 34.666197,108.232401 34.667717,108.232043 34.667985,108.231981 34.668233,108.232256 34.669268,108.232233 34.669886,108.232058 34.670325,108.231837 34.670669,108.231593 34.670822,108.23106 34.670811,108.230549 34.670567,108.230199 34.670014,108.230016 34.669877,108.229589 34.669865,108.22834 34.670325,108.227591 34.670516,108.228056 34.671012,108.228518 34.671114,108.229027 34.67107,108.22936 34.671151,108.229862 34.671723,108.229932 34.671896,108.229846 34.672023,108.228864 34.672214,108.228125 34.672729,108.227595 34.67356,108.227273 34.674758,108.227255 34.674977,108.227351 34.675139,108.227585 34.675204,108.228494 34.675166,108.228813 34.675018,108.228953 34.675071,108.228976 34.675661,108.228896 34.676144,108.228036 34.677787,108.227898 34.678368,108.227983 34.67895,108.22869 34.679719,108.228895 34.680176,108.228918 34.680421,108.22891 34.68064,108.228817 34.680772,108.228701 34.681809,108.228459 34.682468,108.228007 34.683412,108.227805 34.684121,108.22758 34.684508,108.227238 34.684806,108.227228 34.685265,108.227311 34.685706,108.227237 34.685942,108.227016 34.686126,108.226981 34.686267,108.227014 34.687091,108.226854 34.687633,108.226563 34.687993,108.225994 34.688145,108.224382 34.687932,108.223965 34.687971,108.223832 34.688038,108.223826 34.688208,108.224228 34.68854,108.22417 34.688777,108.223288 34.689009,108.22256 34.688961,108.222248 34.689065,108.222167 34.689294,108.221365 34.69012,108.221054 34.690579,108.221274 34.691085,108.221202 34.691504,108.220506 34.69231,108.220261 34.692437,108.219983 34.692431,108.219448 34.692939,108.21917 34.693632,108.219348 34.694319,108.219551 34.694627,108.219835 34.694833,108.220327 34.69495,108.2204 34.694849,108.220388 34.694553,108.220511 34.694453,108.220695 34.694456,108.220849 34.694492,108.221028 34.694808,108.221049 34.695654,108.220848 34.696767,108.22056 34.697026,108.219265 34.696988,108.219139 34.697034,108.218844 34.698162,108.2188 34.70005,108.218542 34.701667,108.218057 34.701953,108.216493 34.702196,108.21643 34.702328,108.216451 34.702795,108.216618 34.703965,108.216528 34.704724,108.216381 34.704788,108.215741 34.70475,108.215499 34.705273,108.215531 34.705563,108.215762 34.706187,108.216643 34.707017,108.21733 34.70829,108.21757 34.709158,108.217669 34.711073,108.217633 34.71217,108.217919 34.712965,108.21933 34.714415,108.220004 34.715638,108.220196 34.715674,108.220472 34.715552,108.221632 34.714714,108.223098 34.714887,108.223491 34.714645,108.224099 34.713471,108.224364 34.711966,108.224548 34.711943,108.224825 34.712159,108.225097 34.712552,108.225186 34.712873,108.225176 34.713756,108.225356 34.71387,108.225604 34.713792,108.225896 34.713563,108.22617 34.71292,108.226542 34.711223,108.226738 34.710856,108.227069 34.710602,108.227365 34.710619,108.227869 34.711049,108.228772 34.71201,108.230435 34.714436,108.230565 34.714899,108.230572 34.716228,108.230373 34.717829,108.229895 34.719466,108.229901 34.719853,108.230126 34.720104,108.232566 34.72124,108.233124 34.721581,108.233273 34.722013,108.23325 34.722719,108.233319 34.723107,108.233482 34.723346,108.233866 34.723381,108.235235 34.722888,108.235445 34.72306,108.235536 34.72334,108.235545 34.723669,108.23506 34.725667,108.235303 34.725808,108.236007 34.725907,108.237912 34.726404,108.238171 34.726258,108.238171 34.724726,108.238087 34.723616,108.238296 34.723401,108.238646 34.723351,108.241579 34.723735,108.242192 34.723942,108.244667 34.725033,108.24586 34.725285,108.246491 34.725519,108.246464 34.725737,108.245645 34.727754,108.245512 34.728347,108.245679 34.728594,108.251413 34.731039,108.25247 34.731379,108.252693 34.731343,108.25295 34.731019,108.253511 34.729771,108.253896 34.729215,108.254708 34.729511,108.255073 34.730043,108.25616 34.732377,108.256426 34.733471,108.256591 34.734916,108.256519 34.735774,108.256616 34.736335,108.256951 34.736967,108.257369 34.737332,108.257667 34.737456,108.258696 34.737376,108.258823 34.737654,108.258674 34.739347,108.258932 34.739761,108.259275 34.73994,108.260667 34.740104,108.261594 34.740302,108.262597 34.740619,108.263295 34.741046,108.264984 34.741901,108.266013 34.741983,108.266602 34.741952,108.267006 34.741845,108.267589 34.741431,108.269836 34.740219,108.271019 34.739409,108.271351 34.739321,108.272055 34.739278,108.272949 34.739475,108.274199 34.740144,108.274456 34.740172,108.274776 34.740112,108.27599 34.739506,108.276297 34.739421,108.276638 34.739598,108.277142 34.740257,108.276856 34.741646,108.27724 34.742978,108.277266 34.743507,108.276981 34.744354,108.27617 34.746025,108.275327 34.746736,108.274235 34.747492,108.271726 34.748781,108.271529 34.74907,108.271539 34.74932,108.271751 34.749384,108.273671 34.748907,108.274067 34.74907,108.274502 34.749624,108.274586 34.750582,108.274964 34.751819,108.275419 34.752328,108.276117 34.752756,108.277213 34.753009,108.277924 34.753048,108.278675 34.75297,108.278939 34.752799,108.279532 34.752093,108.280421 34.750754,108.281964 34.74945,108.282754 34.74939,108.283696 34.749449,108.285051 34.749897,108.285549 34.749078,108.285688 34.748709,108.285984 34.748436,108.286339 34.747374,108.286646 34.745959,108.288074 34.743885,108.288222 34.743554,108.288276 34.743126,108.288211 34.74271,108.287784 34.741663,108.287202 34.739825,108.287553 34.7389,108.28788 34.737355,108.288126 34.736919,108.288469 34.736513,108.29013 34.735598,108.291902 34.734808,108.29242 34.734849,108.29367 34.735511,108.294529 34.735715,108.294801 34.735584,108.295184 34.735057,108.295464 34.734111,108.295681 34.732763,108.295642 34.732249,108.295829 34.73197,108.296195 34.731639,108.296629 34.731622,108.297235 34.731935,108.297835 34.732475,108.298503 34.73273,108.298733 34.73281,108.299274 34.73277,108.29973 34.732473,108.300305 34.731636,108.301192 34.730686,108.30225 34.729888,108.302913 34.729205,108.305144 34.727456,108.307841 34.726747,108.308783 34.726581,108.30892 34.726678,108.308979 34.726836,108.309807 34.725554,108.310373 34.723061,108.310307 34.722453,108.310524 34.721708,108.310565 34.721119,108.310318 34.719877,108.310272 34.719168,108.309963 34.718204,108.310812 34.713942,108.311595 34.712486,108.312068 34.711855,108.312633 34.71085,108.31289 34.710162,108.313023 34.708709,108.31418 34.705809,108.31485 34.704467,108.315551 34.702708,108.315706 34.701516,108.31552 34.700515,108.31554 34.699547,108.315473 34.699303,108.314789 34.698066,108.313935 34.697067,108.313894 34.69681,108.314068 34.695503,108.313846 34.694523,108.313809 34.693333,108.313582 34.692968,108.312952 34.692282,108.312627 34.691505,108.312596 34.691266,108.312665 34.691073,108.313255 34.690511,108.313347 34.690101,108.313394 34.68905,108.313537 34.688727,108.313792 34.688479,108.314015 34.688507,108.313731 34.68706,108.313295 34.686346,108.312538 34.685375,108.312339 34.684916,108.312331 34.684236,108.3125 34.68374,108.312515 34.68311,108.311742 34.681684,108.311636 34.681203,108.311658 34.680501,108.312209 34.678631,108.313111 34.676991,108.314166 34.675408,108.314685 34.674466,108.315663 34.669687,108.315794 34.668435,108.315678 34.66575,108.314462 34.662621,108.313148 34.660259,108.312199 34.659047,108.308392 34.655631,108.308308 34.655394,108.308491 34.654077,108.308843 34.652783,108.308934 34.652084,108.308927 34.650763,108.308644 34.649415,108.308338 34.648628,108.307826 34.647802,108.307604 34.647271,108.307856 34.645485,108.306702 34.64546,108.306373 34.645353,108.306121 34.645134,108.305142 34.643281,108.304508 34.64257,108.303315 34.640128,108.303216 34.639445,108.303086 34.639151,108.302513 34.638653))\",\n" +
                "\"centerPoint\": \"108.216618,34.703965\",\n" +
                "\"colorTemplateType\": 8,\n" +
                "\"name\": \"峰阳镇\"\n" +
                "},\n" +
                "{\n" +
                "\"blockCode\": \"610424101000\",\n" +
                "\"blockCoords\": \"POLYGON((108.342221 34.389423,108.341762 34.387693,108.339806 34.38767,108.339714 34.38625,108.338429 34.386198,108.33846 34.385145,108.336885 34.384963,108.336808 34.383676,108.33602 34.38408,108.334782 34.382233,108.334208 34.381855,108.333887 34.381751,108.331295 34.381777,108.329613 34.381491,108.329421 34.379418,108.328526 34.379412,108.328313 34.380668,108.326753 34.380661,108.326585 34.381676,108.324482 34.381558,108.317807 34.381724,108.316821 34.381009,108.316737 34.38307,108.315659 34.383171,108.315146 34.383368,108.315147 34.385273,108.305477 34.385256,108.301326 34.385458,108.30044 34.387894,108.298094 34.38805,108.296528 34.388273,108.294281 34.388759,108.29422 34.390015,108.293724 34.390136,108.291874 34.390129,108.291477 34.390225,108.291377 34.390435,108.291439 34.391809,108.287986 34.391652,108.287718 34.392113,108.289001 34.392317,108.288971 34.394344,108.289857 34.394704,108.290515 34.39509,108.290659 34.39538,108.290659 34.395956,108.290484 34.397445,108.290331 34.397807,108.290163 34.397975,108.289942 34.398047,108.289262 34.398004,108.289056 34.398065,108.288826 34.398271,108.289048 34.401706,108.288628 34.404419,108.288751 34.40555,108.288965 34.40621,108.289171 34.406294,108.290546 34.406376,108.290699 34.406499,108.290974 34.408759,108.292441 34.40886,108.292578 34.408967,108.292601 34.410276,108.295001 34.410371,108.297003 34.410668,108.296972 34.41216,108.29792 34.412184,108.298371 34.4123,108.298761 34.412529,108.298891 34.412823,108.298891 34.414277,108.299472 34.414026,108.300113 34.414306,108.301015 34.413826,108.301122 34.41438,108.301787 34.414816,108.302345 34.414737,108.302452 34.415248,108.302353 34.417997,108.302032 34.420439,108.301558 34.420598,108.301428 34.421015,108.300679 34.421128,108.300588 34.421673,108.299212 34.423515,108.299189 34.42374,108.299411 34.42487,108.299396 34.425199,108.299312 34.42547,108.299196 34.42643,108.299182 34.426547,108.298853 34.429259,108.298548 34.433701,108.301498 34.43534,108.306008 34.438019,108.30642 34.438474,108.306558 34.438783,108.30652 34.439378,108.30662 34.439501,108.307132 34.439597,108.307208 34.43972,108.307231 34.44025,108.307201 34.440502,108.301375 34.440332,108.301354 34.443706,108.301125 34.445149,108.304572 34.445521,108.304327 34.447849,108.305397 34.447992,108.305336 34.449201,108.315251 34.449696,108.315511 34.45009,108.318905 34.450256,108.318951 34.453241,108.324296 34.453591,108.326269 34.454388,108.326544 34.454343,108.326773 34.454179,108.327033 34.453741,108.327156 34.452669,108.327285 34.452333,108.327515 34.452185,108.327996 34.452128,108.330444 34.452274,108.330749 34.450965,108.331383 34.450539,108.331583 34.450627,108.33198 34.451147,108.332966 34.451325,108.33325 34.45152,108.333479 34.451951,108.333624 34.452024,108.334511 34.452011,108.334779 34.452084,108.334894 34.452221,108.334978 34.454099,108.335078 34.454275,108.337386 34.454241,108.337509 34.454329,108.337555 34.455372,108.336354 34.455515,108.33637 34.455836,108.339351 34.455944,108.339398 34.455074,108.340132 34.45482,108.340308 34.456938,108.341103 34.457364,108.342533 34.457588,108.342861 34.457749,108.342961 34.45792,108.342838 34.458512,108.342556 34.459034,108.342028 34.459362,108.344108 34.460129,108.343985 34.459262,108.344865 34.459272,108.34488 34.456989,108.34683 34.457382,108.346914 34.456275,108.350331 34.456709,108.351692 34.457001,108.35365 34.457222,108.353902 34.460555,108.354078 34.461643,108.35495 34.461923,108.355034 34.462614,108.357434 34.462897,108.358389 34.463471,108.359291 34.463641,108.359528 34.463659,108.362387 34.463875,108.364879 34.463821,108.366813 34.46442,108.367822 34.463146,108.368617 34.463857,108.372109 34.464099,108.372835 34.46426,108.373247 34.464577,108.372949 34.464936,108.372912 34.465165,108.372972 34.465371,108.373148 34.465489,108.373882 34.465464,108.374088 34.465556,108.374203 34.465789,108.374393 34.465938,108.374761 34.465991,108.375532 34.465935,108.376808 34.465269,108.377052 34.465261,108.377159 34.465323,108.377151 34.465468,108.377007 34.465738,108.377037 34.465838,108.377228 34.465961,108.377572 34.465983,108.377923 34.465873,108.378321 34.46558,108.378443 34.465595,108.378703 34.46631,108.378886 34.466462,108.379428 34.466516,108.379772 34.466188,108.380261 34.466174,108.380437 34.466277,108.380498 34.46651,108.380666 34.466674,108.381491 34.466679,108.381644 34.46674,108.382102 34.467256,108.382308 34.467332,108.382538 34.467294,108.382835 34.467115,108.383118 34.467177,108.383263 34.467589,108.383263 34.467994,108.383439 34.468127,108.383997 34.468155,108.386265 34.467756,108.386563 34.46779,108.387036 34.468684,108.387403 34.468723,108.388281 34.468628,108.388815 34.468464,108.389067 34.468048,108.389427 34.46619,108.38977 34.46572,108.390129 34.465526,108.391343 34.465767,108.391656 34.46576,108.391869 34.465634,108.392091 34.465306,108.392236 34.465237,108.393061 34.465154,108.393588 34.465009,108.394451 34.465014,108.394564 34.461932,108.394453 34.461732,108.39428 34.461618,108.39443 34.459657,108.395182 34.459512,108.395242 34.459004,108.395131 34.45689,108.395168 34.45656,108.395868 34.45636,108.39586 34.455534,108.39667 34.455478,108.396717 34.455419,108.396711 34.454179,108.396802 34.454108,108.397829 34.454033,108.397738 34.451273,108.397654 34.451115,108.396238 34.451034,108.396198 34.4509,108.396276 34.450694,108.396105 34.450512,108.394776 34.450446,108.394664 34.449787,108.394551 34.449689,108.394171 34.449616,108.390564 34.449573,108.389208 34.449676,108.388557 34.449942,108.386598 34.449825,108.386479 34.449726,108.386407 34.448852,108.386043 34.448779,108.384119 34.448787,108.383404 34.448624,108.38226 34.448649,108.382163 34.448573,108.382072 34.448098,108.381957 34.448082,108.378539 34.448478,108.378363 34.448451,108.378251 34.448301,108.37813 34.447573,108.377984 34.447432,108.373266 34.447192,108.371433 34.446227,108.371368 34.445996,108.371305 34.440578,108.371246 34.440517,108.370339 34.440446,108.37029 34.43882,108.370312 34.438467,108.371417 34.438441,108.371502 34.43837,108.371517 34.437875,108.371608 34.437817,108.374175 34.437839,108.374371 34.437783,108.374491 34.436267,108.37461 34.436182,108.377703 34.436207,108.377833 34.434534,108.377951 34.433963,108.378061 34.433823,108.381329 34.433929,108.381431 34.433835,108.381453 34.433665,108.381489 34.430559,108.385582 34.430141,108.38568 34.430216,108.38579 34.430595,108.385932 34.430635,108.389458 34.430443,108.389746 34.430633,108.39145 34.430523,108.391631 34.430422,108.391784 34.430145,108.393016 34.430062,108.393124 34.429421,108.394256 34.429396,108.39433 34.429325,108.394502 34.427179,108.395016 34.427058,108.395074 34.42627,108.395906 34.426201,108.395926 34.426091,108.395959 34.424512,108.395617 34.424275,108.395492 34.424029,108.395431 34.422233,108.395365 34.422062,108.392903 34.421911,108.392836 34.421772,108.392878 34.420961,108.39282 34.420876,108.389173 34.420723,108.389002 34.420512,108.388943 34.419745,108.388873 34.419491,108.388787 34.419424,108.385624 34.419368,108.385506 34.419415,108.385409 34.41968,108.385322 34.419687,108.384775 34.419252,108.383287 34.419132,108.383075 34.418838,108.382681 34.418659,108.382588 34.417565,108.382301 34.415915,108.382242 34.415854,108.381859 34.415882,108.38132 34.412032,108.381099 34.411091,108.381021 34.410956,108.380667 34.410939,108.380417 34.408611,108.380452 34.408382,108.380588 34.408289,108.381281 34.408107,108.381124 34.407107,108.381116 34.405688,108.38281 34.406171,108.383387 34.405895,108.383335 34.404462,108.383194 34.403633,108.383036 34.403556,108.378766 34.403643,108.378726 34.402077,108.378616 34.401877,108.377576 34.401808,108.377513 34.401512,108.37767 34.39615,108.373739 34.395368,108.373739 34.39481,108.372807 34.394768,108.371798 34.394816,108.369398 34.394629,108.36959 34.393736,108.369414 34.392786,108.367427 34.392752,108.363621 34.393148,108.361969 34.393099,108.362069 34.39145,108.362787 34.39136,108.362841 34.389581,108.361924 34.389523,108.361985 34.388023,108.361121 34.387991,108.361128 34.387701,108.359462 34.387671,108.359462 34.388301,108.358293 34.388227,108.358392 34.386482,108.3583 34.385223,108.358032 34.384768,108.356679 34.384953,108.355257 34.384958,108.352957 34.385095,108.351274 34.384997,108.351305 34.385531,108.351114 34.386119,108.34869 34.386183,108.348675 34.387565,108.346114 34.387641,108.3458 34.38917,108.342221 34.389423))\",\n" +
                "\"centerPoint\": \"108.378886,34.466462\",\n" +
                "\"colorTemplateType\": 5,\n" +
                "\"name\": \"薛录镇\"\n" +
                "},\n" +
                "{\n" +
                "\"blockCode\": \"610424103000\",\n" +
                "\"blockCoords\": \"POLYGON((108.090549 34.447666,108.090566 34.447348,108.090642 34.447122,108.091023 34.446668,108.091138 34.446103,108.091306 34.445946,108.091878 34.445909,108.092115 34.444684,108.092305 34.444161,108.092496 34.442817,108.092626 34.442756,108.093343 34.442745,108.093473 34.442657,108.093481 34.442535,108.093488 34.44231,108.093382 34.442165,108.093022 34.441985,108.091382 34.441748,108.091199 34.441622,108.091687 34.439068,108.091771 34.438965,108.093298 34.438989,108.094568 34.438735,108.09421 34.437646,108.093829 34.437212,108.090719 34.436455,108.090367 34.436301,108.090219 34.436088,108.090401 34.432708,108.090335 34.432196,108.089927 34.431601,108.089934 34.431418,108.090015 34.431136,108.090458 34.43069,108.09062 34.430339,108.09069 34.429433,108.09059 34.429328,108.089585 34.429148,108.089313 34.428959,108.089257 34.4287,108.089252 34.427335,108.089174 34.427161,108.088631 34.426938,108.088614 34.426863,108.088665 34.42651,108.089178 34.425571,108.089597 34.424303,108.089819 34.423879,108.08998 34.423727,108.090273 34.423691,108.090426 34.423598,108.090471 34.423417,108.090422 34.422771,108.090272 34.422601,108.089783 34.422514,108.089802 34.421934,108.089714 34.421872,108.08873 34.42165,108.088439 34.422003,108.086901 34.421863,108.086761 34.421988,108.086367 34.423059,108.085817 34.423985,108.085814 34.424054,108.086258 34.424151,108.087453 34.424267,108.088507 34.424529,108.088553 34.424675,108.088487 34.425087,108.0883 34.425289,108.085379 34.424797,108.084894 34.425879,108.084556 34.426279,108.084328 34.426349,108.082834 34.426409,108.082511 34.426745,108.081042 34.428696,108.080864 34.428793,108.080553 34.428796,108.079517 34.428545,108.079344 34.428653,108.079214 34.428875,108.078787 34.430305,108.078399 34.431031,108.077613 34.431978,108.077529 34.431992,108.077064 34.431583,108.076808 34.431463,108.076651 34.431513,108.076344 34.431946,108.076068 34.432965,108.076042 34.433717,108.075514 34.434514,108.075292 34.434578,108.075001 34.434555,108.074351 34.434399,108.074143 34.43405,108.072779 34.433688,108.0727 34.433546,108.072735 34.432986,108.068866 34.43125,108.067885 34.431318,108.067238 34.431645,108.06641 34.432677,108.06606 34.433404,108.065873 34.433345,108.065528 34.433025,108.065384 34.433048,108.065094 34.433551,108.064683 34.434534,108.063482 34.434933,108.063228 34.434937,108.063015 34.435103,108.062814 34.435442,108.060683 34.435511,108.060537 34.435593,108.060417 34.436229,108.06036 34.436399,108.060253 34.436456,108.059204 34.436385,108.05907 34.436322,108.058674 34.435388,108.058461 34.435184,108.058285 34.435196,108.058196 34.435333,108.058142 34.435928,108.057942 34.436664,108.057621 34.43708,108.057464 34.437135,108.057143 34.437024,108.055731 34.43601,108.05307 34.435951,108.052426 34.435811,108.05234 34.435663,108.052436 34.43551,108.052957 34.435282,108.053927 34.435039,108.053932 34.434894,108.053751 34.434706,108.052595 34.434306,108.051933 34.434116,108.048843 34.434067,108.046099 34.43378,108.046036 34.433719,108.046008 34.433407,108.046226 34.432193,108.046304 34.432007,108.046697 34.431921,108.046764 34.431493,108.046531 34.430923,108.046631 34.430747,108.048765 34.432242,108.04891 34.432272,108.04939 34.431818,108.050075 34.430933,108.050084 34.430186,108.049962 34.42976,108.049485 34.429175,108.046611 34.426452,108.046019 34.425619,108.045948 34.425202,108.046048 34.424893,108.046145 34.424818,108.046951 34.424648,108.047421 34.424765,108.047174 34.4243,108.04683 34.423921,108.046521 34.423827,108.045402 34.423883,108.044975 34.423828,108.044909 34.423697,108.044941 34.423344,108.044736 34.423242,108.044099 34.423252,108.043308 34.423403,108.04304 34.423637,108.042849 34.424084,108.042665 34.425061,108.041706 34.427748,108.041739 34.427894,108.041985 34.428111,108.041808 34.428348,108.038976 34.428148,108.037985 34.428417,108.037159 34.428438,108.037019 34.428547,108.036876 34.429301,108.036767 34.429421,108.036405 34.429358,108.036118 34.429221,108.036174 34.428196,108.036073 34.428097,108.035525 34.42797,108.035224 34.428214,108.034815 34.429127,108.034728 34.429184,108.03322 34.429004,108.032343 34.429007,108.031229 34.428891,108.030399 34.43012,108.030208 34.430566,108.030048 34.431217,108.029744 34.431563,108.029412 34.431753,108.028353 34.431923,108.02622 34.431967,108.025713 34.432136,108.025168 34.432122,108.02325 34.431774,108.022542 34.431013,108.022285 34.43092,108.021251 34.430924,108.018184 34.430712,108.018012 34.430605,108.017973 34.430276,108.017821 34.430113,108.017688 34.430602,108.017591 34.430678,108.017264 34.430567,108.016764 34.430014,108.016142 34.42997,108.015359 34.429914,108.015152 34.430158,108.014988 34.430505,108.014773 34.432545,108.014425 34.43384,108.014195 34.433935,108.011973 34.433936,108.011816 34.43412,108.011553 34.435659,108.010919 34.437524,108.01069 34.437595,108.009613 34.437566,108.009192 34.438218,108.008909 34.439015,108.009935 34.439144,108.009407 34.441199,108.009281 34.442102,108.009792 34.442327,108.012909 34.442662,108.013101 34.442847,108.013268 34.443226,108.013536 34.443382,108.015865 34.443274,108.016707 34.443508,108.016912 34.443888,108.016935 34.444819,108.016672 34.445842,108.016603 34.446457,108.015916 34.447946,108.015543 34.449809,108.015196 34.450768,108.015209 34.451794,108.015004 34.45339,108.014759 34.454334,108.014442 34.456395,108.013804 34.4577,108.013612 34.458715,108.013644 34.460449,108.013565 34.462681,108.013738 34.462873,108.014322 34.463178,108.014379 34.463734,108.01401 34.467668,108.014078 34.46792,108.014373 34.468116,108.015024 34.468157,108.015394 34.468393,108.015474 34.468786,108.015319 34.469688,108.014447 34.470265,108.014468 34.470476,108.01469 34.470623,108.015511 34.470684,108.015748 34.470926,108.015799 34.471606,108.015521 34.472528,108.015005 34.473443,108.014892 34.473979,108.01493 34.47423,108.015154 34.474314,108.015628 34.474265,108.015936 34.474109,108.016221 34.473828,108.016402 34.473809,108.017712 34.474181,108.01846 34.47414,108.020835 34.473564,108.021262 34.473528,108.021459 34.473581,108.02145 34.473823,108.021141 34.474806,108.020815 34.475461,108.02064 34.476136,108.020808 34.476437,108.021231 34.476527,108.021396 34.476679,108.021155 34.477822,108.021015 34.478139,108.021591 34.478356,108.021787 34.479229,108.022598 34.47954,108.022638 34.479767,108.022214 34.480521,108.022356 34.480775,108.022897 34.480993,108.023566 34.481058,108.024373 34.480954,108.025261 34.480729,108.027575 34.479714,108.027995 34.479608,108.028297 34.479632,108.028348 34.479797,108.028454 34.481605,108.028321 34.482421,108.028144 34.482604,108.027944 34.482661,108.027823 34.482579,108.027762 34.481375,108.027571 34.481166,108.027314 34.481222,108.026934 34.482055,108.026172 34.483292,108.025476 34.48371,108.024276 34.483678,108.023969 34.483794,108.022861 34.484896,108.02251 34.484934,108.022165 34.4848,108.0217 34.48431,108.021533 34.48422,108.021331 34.484339,108.020915 34.485382,108.02066 34.485376,108.020146 34.485197,108.020019 34.485319,108.01998 34.485607,108.02022 34.486582,108.020833 34.487676,108.021333 34.488244,108.021321 34.48858,108.021098 34.488754,108.020822 34.488793,108.020267 34.488692,108.019808 34.488312,108.018484 34.486972,108.017947 34.485864,108.017967 34.48657,108.018455 34.487934,108.019035 34.488458,108.019382 34.488892,108.019679 34.489401,108.020054 34.490397,108.020354 34.490803,108.020646 34.491056,108.021424 34.491519,108.021694 34.491608,108.022867 34.491772,108.023483 34.491768,108.025911 34.492147,108.026207 34.492278,108.026814 34.49284,108.026947 34.493587,108.026818 34.493784,108.026371 34.494125,108.025953 34.494562,108.026235 34.495317,108.026268 34.495898,108.025872 34.497982,108.025607 34.498377,108.025272 34.499681,108.025396 34.500025,108.026931 34.502853,108.0277 34.503619,108.027913 34.503929,108.027999 34.504185,108.02789 34.504585,108.027874 34.505136,108.02826 34.505324,108.029457 34.505514,108.02968 34.505722,108.029722 34.505977,108.029655 34.506178,108.028452 34.506934,108.028317 34.507096,108.028315 34.507321,108.028449 34.507551,108.02893 34.507934,108.031618 34.508768,108.032386 34.509172,108.032941 34.509635,108.033906 34.510252,108.034153 34.510595,108.034327 34.511087,108.034358 34.512035,108.034035 34.51292,108.033489 34.513773,108.033186 34.514624,108.032469 34.515171,108.032332 34.516723,108.032117 34.517528,108.031897 34.517912,108.030504 34.518969,108.028416 34.520801,108.02751 34.521417,108.026222 34.522566,108.026055 34.522837,108.025996 34.523119,108.026157 34.523545,108.026746 34.523845,108.027106 34.523936,108.027707 34.523888,108.028887 34.523563,108.029321 34.523786,108.029528 34.52461,108.029519 34.524861,108.029624 34.524953,108.029958 34.524938,108.031478 34.523074,108.031962 34.522722,108.03235 34.522562,108.032945 34.522683,108.033937 34.523221,108.034588 34.523433,108.035879 34.523557,108.036129 34.523734,108.036178 34.524546,108.036303 34.524915,108.036874 34.525425,108.037264 34.5255,108.037602 34.52538,108.038584 34.524271,108.039137 34.523921,108.039644 34.523739,108.040262 34.52374,108.04073 34.523833,108.041027 34.524036,108.04202 34.525392,108.042957 34.526107,108.043741 34.526144,108.044446 34.525911,108.045825 34.525218,108.047054 34.524886,108.047574 34.524899,108.047963 34.524991,108.048259 34.525215,108.048376 34.525398,108.048436 34.526838,108.048228 34.529142,108.048374 34.529486,108.050251 34.530801,108.05069 34.531413,108.050784 34.531828,108.050528 34.532397,108.050204 34.532689,108.049551 34.532826,108.048589 34.532816,108.047234 34.532619,108.046742 34.532702,108.046053 34.533381,108.045929 34.533642,108.045946 34.533788,108.0465 34.534397,108.048169 34.535253,108.048864 34.535793,108.049325 34.536287,108.049965 34.537208,108.050544 34.537766,108.051193 34.539413,108.051764 34.539923,108.05241 34.54024,108.052791 34.54029,108.053266 34.540214,108.055452 34.539136,108.055685 34.539231,108.055938 34.539554,108.055863 34.54003,108.055726 34.540369,108.054829 34.542012,108.054799 34.542465,108.054701 34.54266,108.054801 34.543012,108.054682 34.543604,108.054734 34.544388,108.054621 34.544923,108.055376 34.546099,108.055004 34.546385,108.055032 34.546759,108.055136 34.546798,108.055295 34.546677,108.055568 34.546837,108.055696 34.5471,108.055669 34.547472,108.055724 34.547555,108.055882 34.547565,108.056155 34.547351,108.056244 34.547374,108.056753 34.548511,108.056862 34.549121,108.056866 34.54933,108.056641 34.54976,108.056656 34.549851,108.057464 34.549794,108.05767 34.549898,108.057787 34.550471,108.058069 34.550745,108.058215 34.551236,108.058331 34.552136,108.058003 34.553432,108.057907 34.553553,108.057389 34.553844,108.056265 34.554279,108.056281 34.554494,108.056428 34.55468,108.056539 34.554715,108.056856 34.554691,108.057626 34.55443,108.05798 34.554439,108.058238 34.55462,108.058611 34.555607,108.060503 34.558249,108.060461 34.559369,108.061259 34.563144,108.060459 34.563542,108.060331 34.563691,108.060304 34.563879,108.060594 34.564222,108.060611 34.564571,108.06108 34.565184,108.061327 34.565701,108.061361 34.566107,108.061214 34.566663,108.061389 34.566708,108.062718 34.566596,108.064784 34.567039,108.065393 34.567289,108.066186 34.567765,108.066721 34.568592,108.068848 34.571252,108.069848 34.571434,108.070266 34.571299,108.070386 34.570953,108.069903 34.569895,108.069314 34.568226,108.069189 34.567298,108.069049 34.566824,108.069059 34.56654,108.069393 34.565973,108.070511 34.565142,108.071791 34.564729,108.0723 34.564482,108.072436 34.56425,108.072527 34.563863,108.072499 34.562987,108.071826 34.562321,108.071644 34.561651,108.071591 34.56092,108.071418 34.560551,108.071557 34.559654,108.07216 34.55887,108.072636 34.558553,108.072972 34.558224,108.073258 34.557754,108.073409 34.557251,108.073214 34.555061,108.072917 34.554351,108.072628 34.55388,108.072627 34.553648,108.072322 34.553183,108.071479 34.551203,108.071533 34.550403,108.069619 34.547941,108.070227 34.54752,108.071134 34.547302,108.071512 34.547355,108.07226 34.547778,108.073625 34.548752,108.07538 34.548968,108.075498 34.548933,108.076755 34.548263,108.077163 34.547913,108.078005 34.547192,108.078735 34.546764,108.078956 34.546753,108.080033 34.547217,108.080299 34.547186,108.080531 34.546565,108.081099 34.545527,108.081412 34.545066,108.081946 34.544481,108.082085 34.544,108.082979 34.54334,108.083534 34.543526,108.084245 34.543949,108.08436 34.544293,108.084286 34.545021,108.08351 34.546485,108.083109 34.54757,108.083096 34.547935,108.08324 34.548303,108.083935 34.549172,108.083957 34.549392,108.083866 34.549754,108.083616 34.550178,108.083549 34.550648,108.083846 34.55108,108.085019 34.551349,108.08578 34.551294,108.086528 34.55098,108.088805 34.549023,108.089758 34.548548,108.091379 34.548126,108.092439 34.547801,108.09421 34.546921,108.095818 34.545057,108.095929 34.544823,108.097518 34.543264,108.099051 34.540638,108.100065 34.539606,108.101111 34.539386,108.104378 34.538383,108.106035 34.537636,108.110732 34.536371,108.112202 34.535865,108.113121 34.535002,108.114569 34.533868,108.115581 34.53263,108.115943 34.532507,108.11697 34.532431,108.118693 34.532578,108.120063 34.533037,108.12329 34.533873,108.123769 34.533852,108.124707 34.532678,108.125386 34.530618,108.125831 34.527194,108.126174 34.526057,108.126402 34.525621,108.126662 34.525407,108.12692 34.525242,108.127172 34.52525,108.127317 34.525174,108.12804 34.523749,108.127934 34.523577,108.127256 34.523314,108.126219 34.522769,108.126029 34.522533,108.126052 34.522273,108.126379 34.52172,108.126364 34.521345,108.126327 34.521338,108.124932 34.521049,108.124452 34.520832,108.124154 34.52084,108.123736 34.521256,108.123218 34.522207,108.122981 34.52228,108.122745 34.522234,108.122638 34.522116,108.122661 34.521494,108.122318 34.521028,108.121975 34.520864,108.121617 34.520857,108.121274 34.521121,108.120436 34.522247,108.120093 34.52224,108.119941 34.522144,108.119933 34.521924,108.120131 34.52111,108.120009 34.520664,108.119583 34.520343,108.119255 34.519779,108.118888 34.51947,108.118317 34.519248,108.117662 34.51913,108.117311 34.519226,108.117067 34.519467,108.116973 34.52006,108.116968 34.520089,108.116824 34.520253,108.116648 34.520261,108.116343 34.520124,108.115947 34.519738,108.115634 34.519628,108.115383 34.519636,108.115132 34.519811,108.114849 34.520128,108.114232 34.522679,108.114034 34.522893,108.113828 34.5229,108.113599 34.522855,108.113462 34.522683,108.11347 34.52253,108.114368 34.520446,108.114446 34.519625,108.114277 34.519453,108.112044 34.519168,108.111693 34.51903,108.111526 34.518805,108.111495 34.518233,108.111632 34.51795,108.111876 34.517786,108.113264 34.517625,108.113789 34.517296,108.11385 34.516987,108.11379 34.515502,108.113934 34.513948,108.11396 34.513055,108.114017 34.511062,108.114178 34.510677,108.114315 34.5106,108.115093 34.5105,108.115268 34.510363,108.115466 34.510031,108.115557 34.509122,108.115802 34.509012,108.11622 34.509007,108.116419 34.50887,108.116479 34.508725,108.116427 34.508492,108.114993 34.507809,108.114924 34.507584,108.115519 34.50582,108.115595 34.504923,108.115885 34.504201,108.116418 34.503357,108.117561 34.502109,108.11856 34.501184,108.118758 34.500955,108.118765 34.500691,108.118598 34.500535,108.117645 34.500459,108.117134 34.500253,108.116105 34.499644,108.115564 34.49954,108.11532 34.499678,108.114962 34.50019,108.114962 34.500514,108.115176 34.50069,108.116274 34.501105,108.116326 34.501342,108.116258 34.501701,108.115801 34.502094,108.115244 34.502342,108.114482 34.502557,108.11407 34.502859,108.113652 34.503657,108.113537 34.503771,108.113263 34.503856,108.113102 34.503577,108.113216 34.502527,108.113186 34.502046,108.112965 34.501675,108.112614 34.501332,108.11189 34.500909,108.111135 34.498989,108.10974 34.498005,108.109038 34.497627,108.107689 34.497188,108.107696 34.496868,108.10746 34.496505,108.106308 34.495849,108.10592 34.495016,108.105927 34.494444,108.105987 34.494333,108.106293 34.494261,108.106605 34.494279,108.106773 34.494211,108.106834 34.494065,108.106804 34.493768,108.106674 34.49365,108.106178 34.493592,108.105949 34.493486,108.105797 34.493321,108.10582 34.493047,108.105957 34.492799,108.1064 34.492443,108.107123 34.491039,108.10733 34.490932,108.108054 34.490889,108.108222 34.490779,108.108611 34.489874,108.108824 34.489717,108.109152 34.489759,108.10967 34.48998,108.110128 34.489992,108.110296 34.4899,108.110593 34.489682,108.111356 34.488632,108.111462 34.488121,108.11134 34.487651,108.111051 34.48746,108.110036 34.487365,108.109709 34.487243,108.109602 34.487129,108.109663 34.486946,108.109845 34.486804,108.110897 34.486839,108.111173 34.486777,108.111401 34.486552,108.111448 34.486045,108.111469 34.485823,108.111584 34.485643,108.111835 34.485647,108.11198 34.485697,108.112186 34.48617,108.112171 34.486983,108.113429 34.48707,108.114686 34.487249,108.114976 34.487035,108.11512 34.486695,108.115281 34.485646,108.1157 34.485084,108.115967 34.485,108.116729 34.485007,108.117026 34.485091,108.117705 34.485534,108.11807 34.48569,108.118505 34.485766,108.119115 34.485758,108.119244 34.485624,108.120174 34.482993,108.120182 34.48276,108.119732 34.482272,108.119533 34.481673,108.11964 34.480898,108.119655 34.479661,108.119602 34.479508,108.119358 34.479402,108.118231 34.479067,108.118474 34.476783,108.118466 34.476509,108.118397 34.476406,108.115791 34.475705,108.116088 34.474613,108.116463 34.472357,108.117257 34.467576,108.1173 34.467346,108.116839 34.467302,108.114655 34.466216,108.113991 34.465846,108.113702 34.465575,108.11358 34.465399,108.113633 34.463891,108.113556 34.463746,108.112558 34.463632,108.112482 34.463468,108.112847 34.462209,108.112847 34.46201,108.112695 34.461899,108.11165 34.461732,108.111102 34.461533,108.11101 34.461347,108.111132 34.460465,108.111353 34.45969,108.111292 34.459568,108.10921 34.45932,108.109012 34.459225,108.108951 34.459076,108.109073 34.458206,108.10899 34.458007,108.107243 34.457847,108.106763 34.457771,108.106641 34.45766,108.106656 34.457172,108.106892 34.456263,108.106892 34.455973,108.106778 34.455866,108.10555 34.4556,108.105489 34.455504,108.105862 34.453901,108.105916 34.45324,108.10584 34.453149,108.105337 34.452989,108.105245 34.452881,108.105321 34.451549,108.10513 34.451439,108.104749 34.451416,108.104627 34.451332,108.104566 34.45116,108.104604 34.450633,108.104513 34.450538,108.102049 34.450332,108.101927 34.450462,108.101607 34.451393,108.101439 34.45213,108.10134 34.452248,108.100943 34.452248,108.100814 34.452328,108.100653 34.453221,108.100523 34.453404,108.100379 34.453423,108.099852 34.45332,108.095717 34.45301,108.09561 34.452888,108.095626 34.452362,108.095519 34.45225,108.092672 34.451997,108.091306 34.451779,108.091108 34.451627,108.0911 34.45089,108.091009 34.450768,108.090283 34.450565,108.090131 34.450347,108.090101 34.450175,108.090116 34.449832,108.09033 34.449176,108.09052 34.448202,108.090549 34.447666))\",\n" +
                "\"centerPoint\": \"108.050204,34.532689\",\n" +
                "\"colorTemplateType\": 2,\n" +
                "\"name\": \"临平镇\"\n" +
                "}]";
        JSONArray jsonArray = new JSONArray(arr);
        for (int i = 0; i < jsonArray.size(); i++) {
            System.out.println("--------开始--------");
            one((JSONObject) jsonArray.get(i));
            System.out.println("--------结束--------");
        }
    }
    public static void one(JSONObject jsonObject) {
        // JSON 字符串
//        String jsonString = "{\n" +
//                "\"blockCode\": \"610424104000\",\n" +
//                "\"blockCoords\": \"POLYGON((108.273349 34.359462,108.273219 34.359371,108.273197 34.359186,108.273774 34.357663,108.273802 34.357337,108.27348 34.357301,108.272726 34.357408,108.272019 34.357415,108.271801 34.356921,108.271771 34.356506,108.271611 34.355944,108.271374 34.355874,108.270791 34.35586,108.27027 34.35595,108.270183 34.355883,108.270059 34.355249,108.269901 34.355157,108.26838 34.355233,108.264781 34.355602,108.264672 34.35572,108.264636 34.355964,108.264688 34.356601,108.264637 34.356785,108.263497 34.357464,108.263386 34.357646,108.263264 34.358815,108.263155 34.358924,108.262464 34.358977,108.262382 34.3591,108.262367 34.359574,108.262112 34.359717,108.261286 34.359808,108.259231 34.359748,108.258857 34.359961,108.258082 34.3607,108.2577 34.361166,108.256922 34.361774,108.256856 34.361911,108.256885 34.362386,108.256815 34.362666,108.256597 34.362904,108.256241 34.362976,108.255401 34.362739,108.254614 34.362413,108.254223 34.362143,108.254045 34.362021,108.253217 34.362207,108.25084 34.363045,108.250831 34.363926,108.250747 34.364006,108.249483 34.364385,108.249466 34.364889,108.249227 34.365287,108.248739 34.365544,108.248488 34.365496,108.248203 34.365334,108.247963 34.365355,108.247751 34.365496,108.247286 34.366038,108.246743 34.366451,108.245512 34.366294,108.242768 34.367114,108.24244 34.367623,108.242282 34.3677,108.24203 34.367684,108.241659 34.367375,108.241398 34.367044,108.236341 34.368579,108.236166 34.368972,108.23572 34.369564,108.234247 34.370708,108.233933 34.370787,108.233319 34.370801,108.232959 34.370723,108.232443 34.370298,108.232308 34.371347,108.232437 34.371649,108.232871 34.372186,108.233283 34.372511,108.233405 34.373011,108.233351 34.373171,108.232834 34.373328,108.232742 34.373553,108.23278 34.373988,108.233695 34.374293,108.234114 34.375808,108.234213 34.37596,108.235112 34.375742,108.23538 34.375761,108.235485 34.375837,108.235542 34.377309,108.235561 34.377791,108.235684 34.380971,108.236348 34.381211,108.236843 34.384203,108.239077 34.384129,108.239488 34.384259,108.23961 34.384396,108.239777 34.387499,108.24157 34.38754,108.241646 34.387616,108.242065 34.391913,108.240899 34.392037,108.24099 34.394113,108.238345 34.394282,108.238193 34.400008,108.236776 34.400111,108.237035 34.400554,108.237066 34.401173,108.235655 34.401158,108.235816 34.40349,108.2342 34.403923,108.234078 34.406675,108.235656 34.406838,108.235907 34.406918,108.235961 34.407006,108.235831 34.409628,108.235869 34.409715,108.236258 34.409948,108.236334 34.410078,108.236243 34.412341,108.236197 34.412555,108.235915 34.412654,108.23574 34.412811,108.235748 34.414532,108.235382 34.419441,108.23693 34.419497,108.239643 34.419374,108.239674 34.418923,108.241381 34.418987,108.242846 34.419197,108.243005 34.419552,108.242975 34.420903,108.243089 34.421132,108.250173 34.421671,108.250203 34.422927,108.249914 34.423512,108.249922 34.424729,108.252804 34.426698,108.25356 34.425656,108.255078 34.425927,108.25549 34.425591,108.256099 34.425595,108.256893 34.425599,108.257061 34.425294,108.258534 34.425159,108.258579 34.428224,108.258725 34.42848,108.258725 34.429701,108.260777 34.429835,108.261227 34.429935,108.261342 34.430057,108.261335 34.431484,108.261083 34.43261,108.264127 34.432825,108.263814 34.43497,108.266562 34.435364,108.267516 34.436155,108.268195 34.43651,108.269128 34.436801,108.270058 34.437091,108.269867 34.43892,108.270135 34.439244,108.269967 34.4399,108.270135 34.440004,108.271425 34.440375,108.271432 34.440493,108.271074 34.44086,108.271043 34.441069,108.271127 34.441237,108.271676 34.441456,108.272196 34.441501,108.272654 34.441303,108.274051 34.440323,108.274647 34.439495,108.274769 34.439438,108.278785 34.441503,108.279572 34.438618,108.281963 34.438639,108.282099 34.437269,108.284887 34.437447,108.285162 34.436123,108.286209 34.436422,108.288088 34.436554,108.287905 34.43789,108.290992 34.438443,108.290945 34.43907,108.294835 34.439425,108.29498 34.438296,108.29663 34.438466,108.301299 34.438565,108.301375 34.440332,108.307201 34.440502,108.307231 34.44025,108.307208 34.43972,108.307132 34.439597,108.30662 34.439501,108.30652 34.439378,108.306558 34.438783,108.30642 34.438474,108.306008 34.438019,108.301498 34.43534,108.298548 34.433701,108.298853 34.429259,108.299182 34.426547,108.299196 34.42643,108.299312 34.42547,108.299396 34.425199,108.299411 34.42487,108.299189 34.42374,108.299212 34.423515,108.300588 34.421673,108.300679 34.421128,108.301428 34.421015,108.301558 34.420598,108.302032 34.420439,108.302353 34.417997,108.302452 34.415248,108.302345 34.414737,108.301787 34.414816,108.301122 34.41438,108.301015 34.413826,108.300113 34.414306,108.299472 34.414026,108.298891 34.414277,108.298891 34.412823,108.298761 34.412529,108.298371 34.4123,108.29792 34.412184,108.296972 34.41216,108.297003 34.410668,108.295001 34.410371,108.292601 34.410276,108.292578 34.408967,108.292441 34.40886,108.290974 34.408759,108.290699 34.406499,108.290546 34.406376,108.289171 34.406294,108.288965 34.40621,108.288751 34.40555,108.288628 34.404419,108.289048 34.401706,108.288826 34.398271,108.289056 34.398065,108.289262 34.398004,108.289942 34.398047,108.290163 34.397975,108.290331 34.397807,108.290484 34.397445,108.290659 34.395956,108.290659 34.39538,108.290515 34.39509,108.289857 34.394704,108.288971 34.394344,108.289001 34.392317,108.287718 34.392113,108.287986 34.391652,108.291439 34.391809,108.291377 34.390435,108.291477 34.390225,108.291874 34.390129,108.293724 34.390136,108.29422 34.390015,108.294281 34.388759,108.296528 34.388273,108.298094 34.38805,108.30044 34.387894,108.301326 34.385458,108.301005 34.384376,108.300776 34.384257,108.298751 34.384128,108.298751 34.382933,108.298155 34.382741,108.298162 34.381596,108.298477 34.377014,108.298628 34.374811,108.298643 34.37299,108.299216 34.372498,108.299231 34.370987,108.299996 34.371057,108.300347 34.369878,108.301906 34.369675,108.301781 34.368193,108.301718 34.367252,108.301244 34.366722,108.301155 34.366033,108.300372 34.365829,108.300022 34.363971,108.297923 34.363706,108.295543 34.363175,108.294706 34.363059,108.294638 34.36265,108.293892 34.362576,108.293875 34.361096,108.293148 34.361089,108.293222 34.362035,108.292494 34.362007,108.292085 34.360722,108.291271 34.36067,108.291213 34.359122,108.290151 34.358925,108.290248 34.357346,108.288684 34.357355,108.288359 34.357391,108.286352 34.357614,108.285244 34.357633,108.284509 34.357644,108.283286 34.357773,108.283105 34.357865,108.282877 34.358889,108.282862 34.359363,108.282775 34.359472,108.278124 34.359765,108.277147 34.359535,108.276768 34.359379,108.275833 34.359214,108.274669 34.359257,108.273616 34.359468,108.273349 34.359462))\",\n" +
//                "\"centerPoint\": \"108.269128,34.436801\",\n" +
//                "\"colorTemplateType\": 4,\n" +
//                "\"name\": \"姜村镇\"\n" +
//                "}";

        // 解析 JSON 字符串
        //JSONObject jsonObject = new JSONObject(jsonString);

        // 提取 blockCoords 字段
        String blockCoords = jsonObject.getStr("blockCoords");
        String name = jsonObject.getStr("name");
        String centerPoint = "["+jsonObject.getStr("centerPoint")+"]";

        // 去掉 "POLYGON((" 和 "))" 部分，提取纯坐标字符串
        String coordsString = blockCoords.replace("POLYGON((", "").replace("))", "");

        // 分割字符串为坐标对
        String[] coordPairs = coordsString.split(",");

        // 创建一个列表存储坐标
        List<double[]> pathList = new ArrayList<>();

        for (String pair : coordPairs) {
            // 分割每对坐标
            String[] coords = pair.trim().split(" ");
            // 转换为 double 并存储到数组中
            double[] point = new double[] { Double.parseDouble(coords[0]), Double.parseDouble(coords[1]) };
            // 添加到列表中
            pathList.add(point);
        }

        // 将列表转换为二维数组
        double[][] path = new double[pathList.size()][2];
        for (int i = 0; i < pathList.size(); i++) {
            path[i] = pathList.get(i);
        }

        // 打印二维数组
        System.out.println("var path = [");
        for (double[] point : path) {
            System.out.println("    [" + point[0] + ", " + point[1] + "],");
        }
        System.out.println("];");
        System.out.println(name);
        System.out.println(centerPoint);
    }
}
